package com.ctgu.j13.service;

import com.ctgu.j13.dao.CustomerMapper;
import com.ctgu.j13.vo.Customer;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TestService {

    @Resource
    private CustomerMapper customerMapper;

    public boolean testService(){
        Customer customer=customerMapper.selectByPrimaryKey(1);
        return customer!=null?true:false;
    }
}
